#include "MNetwork.h"

MNetwork::MNetwork()
{
    this->socket = new QTcpSocket;
}

MNetwork::~MNetwork()
{
    delete this->socket;
}

QTcpSocket* MNetwork::get_socket()
{
    return this->socket;
}

void MNetwork::set_socket(QTcpSocket* _socket)
{
    this->socket = _socket;
}
